﻿using DevExpress.XtraBars.Docking2010.Views;
using System.Collections.Generic;
using System.Windows.Forms;
using XCI.Windows;

namespace DevExpress.ApplicationUI.Demos {
    [WidgetCaption("天气Widget")]
    public partial class Weather : UserControl, IWidget
    {
        public Weather() {
            InitializeComponent();
        }
        public BaseDocument CreateDocument()
        {
            var doc = new XtraBars.Docking2010.Views.Widget.Document
            {
            };
            return doc;
        }

        public Control CreateInstance(Dictionary<string, string> paramMap)
        {
            return new Weather();
        }
    }
}
